<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=no">
		<title></title>
	</head>
	<body>
		<div style=" background: red;font-size: 1rem;">一二三四五六七八九十一二三四五六七八九十一二三四五六七八九十</div>
		<a href="vulue.html">value</a>
	</body>
	<script type="text/javascript">
		(function (doc, win) {
      var docEl = doc.documentElement,
        resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
        recalc = function () {
          var clientWidth = docEl.clientWidth;
          if (!clientWidth) return;
          docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
        };

      if (!doc.addEventListener) return;
      win.addEventListener(resizeEvt, recalc, false);
      doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
	</script>
	<script type="text/javascript">
				localStorage.name="value1";
				sessionStorage.name="value2";		
	</script>
</html>
